package com.yxp423.ssmempl.bean;

import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.List;

/**
 * @Description: java类作用描述
 * @Author: yxp
 * @CreateDate: 2019-04-23 10:01
 * @Version: 1.0
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
@TableName("sys_func")
public class Func {

	@TableId(type = IdType.AUTO)
	private String funcId;
	private String funcName;
	private String funcUrl;
	private String funcLevel;
	private String pid;
	private String icon;
	private int funcOrder;
	private String userRole;
	private String creatorId;
	private String updaterId;
	@Version
	private int version;

	@TableField(exist = false)
	private List<Func> childFunc;//存放子菜单

}
